import request from "@/utils/request";

export default {
  list(page, limit, userInfo) {
    return request({
      url: `/admin/core/userInfo/list/${page}/${limit}`,
      method: "get",
      params: userInfo
    });
  },
  lockAndUnlock(id, status) {
      return request({
        url: `/admin/core/userInfo/lockAndUnlock/${id}/${status}`,
        method: 'put',
      })
  }
};
